<% form_tag sessions_path, :id => "login-form", :class => "basic-form rounded " do %>
	
	<fieldset class="rounded-12">
		<legend>Login</legend>
		
		<p><%= t :not_registered, :scope => [:account, :messages], :link => link_to(t(:register_now, :scope => [:account, :messages]), new_account_url, :class => "bold", :style => "font-size: 16px") %></p>
		
		<% if flash[:notice] %>
			<div class="alert yellow rounded-8 shadow-low transparent-70">
				<h1><%= t :notice, :scope => :alerts %></h1>
				<p><%= flash[:notice] %></p>
			</div>
		<% end %>
		
		<fieldset style="background-image: url('/stylesheets/background-gradient-80.png'); background-position: top;">
			<dl>
				<dt><%= label_tag :logon, t(:logon, :scope => :authentication) %></dt>
				<dd><%= text_field_tag :logon, nil, :style => "width: 95%" %></dd>
				
				<dt><%= label_tag :password, t(:password, :scope => :authentication) %></dt>
				<dd><%= password_field_tag :password, nil, :style => "width: 60%" %><%= link_to t(:forgot_password, :scope => :account), new_password_url, :class => "bold indented-10" %></dd>
			</dl>
		</fieldset>
		
		<p class="right">
			<%= awesome_submit_button t(:login, :scope => :form), :key, :class => "blue silver rounded-10 large" %>
		</p>
	</fieldset>
<% end %>